<?php
namespace app\api\model;
use think\Model;

class Advert extends Model {
    public function picture() {
        return $this->belongsTo('Picture', 'cover');
    }
}
